home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / NeoIntroPP3.0 folder / PowerPlant / Laughs / Includes / CLaughsDoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.0 KB  |  37 lines  |  [TEXT/MMCC]

  1. /****
  2.  * CLaughsDoc.cp
  3.  *
  4.  *    Declaration of a document class full of laughs.
  5.  *
  6.  *  Copyright © 1994 NeoLogic Systems.  All rights reserved.
  7.  *
  8.  *    NOTE: This sample application uses the SIOUX serial i/o emulator for outputing
  9.  *    text using printf. There are a number of bugs in this mechanism which causes
  10.  *    rather unusual behavior.
  11.  *
  12.  *    The window can't be moved on the screen. SIOUX ignores mouse clicks directed
  13.  *    to the window.
  14.  *
  15.  *    The Save menu item saves the text in the window NOT the NeoAccess database
  16.  *    that this application uses.
  17.  *
  18.  *    In order to quit the application must choose quit twice.
  19.  *
  20.  ****/
  21. #pragma once            /* Include this file only once */
  22.  
  23. #include CNeoDocRootH
  24.  
  25. const OSType kLaughsFileType    = 'Ne6d';
  26.  
  27. class CLaughsDoc : public CNeoDocRoot {
  28. public:
  29.                         CLaughsDoc(const Boolean aPrintable, const Boolean aNewDatabase, const Boolean aRemote);
  30.  
  31.     virtual void        buildWindow(void);
  32.     virtual void        newDatabase(void);
  33.     virtual void        openFile(FSSpec *aSpec);
  34.  
  35.     void                createObjects(void);
  36.     void                printOut(void);
  37. };